﻿namespace EventBusNet6;

public interface IVideoCommandService
{
    /// <summary>
    /// video封面图片
    /// </summary>
    /// <param name="inputPath"></param>
    /// <param name="width"></param>
    /// <param name="height"></param>
    /// <param name="guid"></param>
    string CaptureVideoPicture(string inputPath, int width, int height, string guid);

    /// <summary>
    /// 获取视频信息
    /// </summary>
    /// <param name="inputPath"></param>
    /// <param name="guid"></param>
    VideoInfoOutput VideoInfo(string inputPath, string guid);

    /// <summary>
    /// 获取音频信息
    /// </summary>
    /// <param name="inputPath"></param>
    /// <param name="guid"></param>
    /// <returns></returns>
    AudioInfoOutput AudioInfo(string inputPath, string guid);
}
